<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required"  class="form-control" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_code" data-rule="required" class="form-control" name="row[product_code]" type="text" value="{$row.product_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_name" data-rule="required" class="form-control" name="row[product_name]" type="text" value="{$row.product_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_category')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_category" data-rule="required" class="form-control" name="row[product_category]" type="text" value="{$row.product_category|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_material')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_material" data-rule="required" class="form-control" data-role="tagsinput" name="row[product_material]" type="text" value="{$row.product_material|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_purity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_purity" data-rule="required" class="form-control" data-role="tagsinput" name="row[product_purity]" type="text" value="{$row.product_purity|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_technology')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_technology" data-rule="required" class="form-control" data-role="tagsinput" name="row[product_technology]" type="text" value="{$row.product_technology|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_skn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_skn" data-rule="required" class="form-control" data-role="tagsinput" name="row[product_skn]" type="text" value="{$row.product_skn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-image_urls" class="control-label col-xs-12 col-sm-2">{:__('Image_urls')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image_urls" class="form-control" size="35" name="row[image_urls]" type="text" value="{$row.image_urls|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-image_urls" class="btn btn-danger faupload" data-input-id="c-image_urls" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-image_urls"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image_urls" class="btn btn-primary fachoose" data-input-id="c-image_urls" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-image_urls"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Material_weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-material_weight" data-rule="required" class="form-control" data-role="tagsinput"  name="row[material_weight]" type="text" value="{$row.material_weight|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_set')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_set" data-rule="required" data-field="product_set_name" data-source="productset/index" class="form-control selectpage" name="row[product_set]" type="text" value="{$row.product_set|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
